package com.yifei.model.form.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @Description: 登录表单
 * @Author: yiFei
 * @date: 2023/9/24 21:41
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("登录表单")
public class LoginFrom {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名",example = "admin", required = true)
    String username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码",example = "123456",required = true)
    String password;
    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码", required = true)
    String verifyCode;
    /**
     * 通过/captcha获得的Key
     */
    @ApiModelProperty(value = "通过/captcha获得的Key", required = true)
    String verifyCodeKey;
}
